#ifndef Utils_h
#define Utils_h


class Utils_T
{
public:
	static void GetServerVariable(PHTTP_FILTER_CONTEXT pFC, const char * szName, String_T & str);
	static void GetServerVariable(LPEXTENSION_CONTROL_BLOCK pECB, const char * szName, String_T & str);
	static void GetHeader(PHTTP_FILTER_CONTEXT pFC, PHTTP_FILTER_PREPROC_HEADERS pHeaders, const char * szName, String_T & str);
	static void GetFileContents(const char * szFilename, Buffer_T & buf);
	static void CreateParentDirs(char * szPath);
};

#endif //Utils_h